package com.suxin.socket.yinfei.handler;

/**
 * @author Tang
 * @classname AbstractMessageHandler
 * @description [  ]
 * @date 2021/8/19 22:38
 */
public abstract class AbstractMessageHandler<T,K> implements MessageHandler<T,K> {

    @Override
    public K handler(T msg) {
        return doHandler(msg);
    }

    protected abstract K doHandler(T msg);
}